package com.bluefish.bltuan.dao.impl;

import org.springframework.stereotype.Repository;

import com.bluefish.bltuan.dao.SettingDao;
import com.bluefish.bltuan.module.config.Setting;
import com.bluefish.bltuan.module.config.SettingEnum;

@Repository
public class SettingDaoImpl extends AbstractDaoImpl<Setting, Integer> implements SettingDao {

    /**
     * 
     */
    private static final long   serialVersionUID = -3512308835785840346L;

    private static final String KEY              = "key";

    public Setting getByKey(SettingEnum key) {
        return getByProperty(KEY, key);
    }

}
